<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<script type="text/javascript" src="jquery-1.9.1.js"></script>
<script type="text/javascript">
	$(document).ready(function(){
		$("#findPasswordByQnAPassBtn").click(function(){
			var id=$("#id").val();
			var questionpass=$("#questionpass").val();
			var answerpass=$("#answerpass").val();
			$.ajax({
				type:"POST",
				url:"findPasswordByQnAPass.do",
				data:"id="+id+"&questionpass="+questionpass+"&answerpass="+answerpass,
				dataType:"json",
				success:function(data){
					alert(data);
				}
			});
		});
	});
</script>
${requestScope.mvo.questionpass}<br>${requestScope.mvo.id }<br>
<!-- <form method="post" action="findPasswordByQnAPass.do" id="findPasswordByQnAPassForm"> -->
<input type="hidden" name="id" id="id" value="${requestScope.mvo.id }">
<input type="hidden" name="questionpass" id="questionpass" value="${requestScope.mvo.questionpass }">
<input type="text" name="answerpass" id="answerpass">
<input type="button" id="findPasswordByQnAPassBtn" value="확인">
<!-- </form> -->